package com.example.session

open class EndPoint : MeshAddress,IEndPoint{

    constructor(address: ByteArray) : super(address)

    constructor(address: String) : super(address)

    override fun getAddress(): ByteArray {
        return getData()
    }

    companion object {
        fun getLocal() = EndPoint("10.0.0.0")
    }
}